<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>EL运算符</title>
</head>
<body>
<h1>数字加法运算：${param.num + 100}</h1>
<h1>数字乘法运算：${param.num * 100}</h1>

<hr>

<h1>数字大小判断：${param.num1 > 100}</h1>
<h1>数字大小判断：${param.num2 lt 100}</h1>
<h1>字符串相等判断：${param.message == 'www.yootk.com'}</h1>
<h1>字符串大小判断：${param.title gt 'Yootk'}</h1>
<h1>布尔判断：${param.flag eq true}</h1>

<hr>

<h1>逻辑与：${param.num > 30 && param.url == "www.yootk.com"}</h1>
<h1>逻辑或：${param.title == "yootk" or param.title eq "YOOTK"}</h1>

<hr>

<h1>空运算：${empty param.message}</h1>
<h1>三目运算：${param.age >= 18 ? "成年人" : "未成年人"}</h1>
</body>
</html>
